Automattic\WooCommerce\Blocks\BlockTypes\ProductCategories S

Total Complexity 46
Dependencies 1
Dependents 0
Total lines 398
Lines of code 238
Logical lines of code 89
Comment lines 103
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
render()
A
48 8 31
get_categories()
A
48 7 37
build_category_tree()
S
56 6 18
renderListItems()
S
55 4 18
get_container_classes()
S
59 4 15
renderDropdown()
S
48 2 41
getCount()
S
58 3 16
renderDropdownOptions()
S
58 3 14
fill_category_children()
S
66 3 8
get_image_html()
S
63 3 10
renderList()
S
61 2 11
get_block_type_attributes()
S
56 1 19